/**
 * http://usejsdoc.org/
 * Node 缓冲区裁剪语法如下所示
 * buf.slice([start][, end])
 */
var buffer1 = new Buffer('runoob');
// 剪切缓冲区
var buffer2 = buffer1.slice(0,2);
console.log("buffer2 content: " + buffer2.toString());